# 🚨 Don't change the code below 👇
row1 = ["⬜️","⬜️","⬜️"]
row2 = ["⬜️","⬜️","⬜️"]
row3 = ["⬜️","⬜️","⬜️"]
map = [row1, row2, row3]
print(f"{row1}\n{row2}\n{row3}")
while True:
    position = input("Choose your emoji ")
    coordinates = [int(position[0]) - 1, int(position[1]) - 1]
    if coordinates[0] < len(map) and coordinates[1] < len(row1):
        break
# 🚨 Don't change the code above 👆

#Write your code below this row 👇


emoji1 = ["😘", "😋", "😚"]
emoji2 = ["😬", "😅", "😢"]
emoji3 = ["😭", "😦", "😡"]

emojis = [emoji1, emoji2, emoji3]

emoji = emojis[coordinates[0]][coordinates[1]]
map[coordinates[0]][coordinates[1]] = emoji

#Write your code above this row 👆

# 🚨 Don't change the code below 👇
print(f"{row1}\n{row2}\n{row3}")
